<html>

<body>
  <div>index</div>
</body>

<script>

  // setInterval(function () {

  // }, 1000)

  // fetch("https://marathon.jd.com/seckillnew/orderService/submitOrder.action?skuId=100012043978", {
  //   "headers": {
  //     "accept": "*/*",
  //     "content-type": "application/json",
  //     "x-requested-with": "XMLHttpRequest",
  //     "Host":"marathon.jd.com"
  //   },
  //   "referrerPolicy": "no-referrer-when-downgrade",
  //   "body": "{\"mobile\":\"13800000000\",\"awardId\":\"e7b816800c3f4ca9811eaaf3b6a29ccf\",\"name\":\"隔壁老王\",\"extension\":\"{ 'address': '地址' }\"}",
  //   "method": "POST",
  //   "mode": "cors",
  //   "credentials": "include"
  // }).then(function (data) { 
  //   console.log(data.json()) 
  // })


  document.cookies='__jdc=122270672 	3AB9D23F7A4B3C9B=DZA7FDTW5QTEQMIKWLAVCT3DEV6AXET4B5ZO6RDWQCHEOJL45CZNEWIS7U5A6S2TJA64D4CLFVTZBYB3NEEDSGXTUA 	BATQW722QTLYVCRD={"tk":"jdd01JNW7XN3YFMBTJXLTKS76E7GDE7KL2UF6MBFOHAPK6LEYOBEKULREM6EPL4JOBTKWD5CKSZYP47WXSGX5IMJA6TEKT5OUFNZMMXYYP4Y01234567","t":1593547047733} 	__tak=6a13397be623da9d2b5c4cf2a5a8caa19bd04282dca5e906e17302287af8daab578189af6673392c11623112c01c9aaad18e0862f8ddb4aa4b15a97147f90fd550ed627e875e1e94a3a0e5b059ef47b5 	pt_pin=%E5%B0%8F%E8%B1%AA%E8%A7%86%E8%A7%89 	pwdt_id=%E5%B0%8F%E8%B1%AA%E8%A7%86%E8%A7%89 	unpl=V2_ZzNtbRIFQh11X04BeUoLUmJTEltKBEoRcA0WU3MRCAJuBhcNclRCFnQURlVnGlwUZwIZXUdcQRNFOEZVehlYAGQAFFxyZwZWJVoSSHsbXQZnCxNbRFVLFn0MTlV9EFk1ZAMiXHJXRx1wDURUeRxbB2QCFVlGV0YcdwxHZEsZVAFXBBpfRVdCF3APT1FLz%2FKRsouthPLylb%2Fb3cvkrpD30dmFIl1LV0EddAlGU3gpXTVmM1MzRVRFFXRFRlBzHFkHZwEXWkBUQhJxDEZRchtYBFcCIl4%3D%7CV2_ZzNtbUZeShd1CE9dL0lbDWJWE18SA0ZCd1tGVikYVAVgAkBUclRCFnQURlVnGloUZgIZXkpcQRNFCEJkexhdB2IGF11CVnMlGwtCVnweWQUJABNcLAobUiE4RVRLGGwAbwsRCBZQQEBwXENSeE4MNVcKE21CVkIUdQ1AVHMdXQZXWEczRl5HFHEPQ1V5TVgGMjMTbUNnQiUjZkZVehhdBGIAFlUPUksddl0SU3hMWVFiBREKEmdCJXU%3D 	__jd_ref_cls=Mnpm_ComponentApplied 	pt_key=app_openAAJfo1quADDZS5XxsCt-MfX91kcQ_Hzb1hgHkqE9KvmgiNsHtnMUluXOKsaZNPDQ67Hpzrthlls 	sid=454a57dc3969b0e46e9a3bc442c3cfaw 	__jda=122270672.1593547017772943137892.1593547017.1604455186.1604541636.3 	__jdb=122270672.1.1593547017772943137892|3.1604541636 	mba_sid=85.19 	pre_session=4992de62d4e472fa|88 	pre_seq=18 	__jdv=122270672%7Ckong%7Ct_1000170135%7Ctuiguang%7Cnotset%7C1603757780314 	mba_muid=1593547017772943137892.85.1604541636271 	seckillSku=100012043978 	mid=F-mwgSA-4MowYVjwkMUo51Vyum0fM3vBIlKgpGjy6qFHahbYqRA6bRC1gzYNr6d_ 	seckillSid= 	seckill100012043978=lyNv+WpISe1DGOi6MBwnl7iWD/5qh6ATnubzUzQ0uBtRGrQMsNKT8RjAoWCT/aFZCw31dn01xjjKqj7sfbeTDB1dfaGYlWvBLdSSDkSZCLHOQEnOAzUPFDLt9lKBY89vqJeqzGzNYhjRYbzK3qX8ZqNIZm8tP/NKcFOfX86MrNxbwX/D03DkN84ilkA/ZbHXRCTVl1p2pA3fykbQ'

　fetch("https://marathon.jd.com/seckillnew/orderService/submitOrder.action?skuId=100012043978", {
      method: 'POST',
      credentials : 'include',
      headers: {
          "Content-Type": "application/x-www-form-urlencoded",
          "Referer": "https://marathon.jd.com/seckillM/seckill.action?skuId=100012043978&num=1&rid=1604455202"
      },
      body:'num=2&addressId=432776693&yuShou=true&isModifyAddress=false&name=%E4%BB%98%E8%B1%AA%E5%B8%85&provinceId=2&provinceName=%E4%B8%8A%E6%B5%B7&cityId=2824&cityName=%E5%AE%9D%E5%B1%B1%E5%8C%BA&countyId=51917&countyName=%E9%AB%98%E5%A2%83%E9%95%87&townId=0&townName=&addressDetail=%E8%B1%A1%E5%B1%BF%E4%BF%AA%E5%BA%AD%28%E5%8D%97%E5%8C%BA%2910%E5%8F%B7%E6%A5%BC901&mobile=183%2A%2A%2A%2A1281&mobileKey=bba07c9ba9ca282fc46401d805c2b7c1&email=&invoiceTitle=4&invoiceCompanyName=&invoiceContent=1&invoiceTaxpayerNO=&invoiceEmail=1220909752%40qq.com&invoicePhone=183%2A%2A%2A%2A1281&invoicePhoneKey=bba07c9ba9ca282fc46401d805c2b7c1&invoice=true&password=&codTimeType=3&paymentType=4&overseas=0&phone=&areaCode=0086&token=2a9bbb6cb49c69620f316c19511f1060'
    })
  .then(r => {
    console.log('结果', r);
  })
  .then(r => {
　　　console.log('error', r)
  })

</script>

</html>